package sdufe.lele.model;

import java.io.Serializable;
import java.util.Date;

public class Message implements Serializable{
    private Integer messageid;

    private Date messagecreatedate;

    private String messagetype;

    private String messagebroker;

    private String messagemoney;

    private String messageothers;

    private Integer messagelevel;

    private String messageio;

    private String messageuserphone;

    public Message() {
    }

    public Message(String messagetype, String messagebroker, String messagemoney, String messageothers, Integer messagelevel,String phone) {
        this.messagetype = messagetype;
        this.messagebroker = messagebroker;
        this.messagemoney = messagemoney;
        this.messageothers = messageothers;
        this.messagelevel = messagelevel;
        this.messageuserphone = phone;

    }

    public String getMessageuserphone() {
        return messageuserphone;
    }

    public void setMessageuserphone(String messageuserphone) {
        this.messageuserphone = messageuserphone;
    }

    public Integer getMessageid() {
        return messageid;
    }

    public void setMessageid(Integer messageid) {
        this.messageid = messageid;
    }

    public Date getMessagecreatedate() {
        return messagecreatedate;
    }

    public void setMessagecreatedate(Date messagecreatedate) {
        this.messagecreatedate = messagecreatedate;
    }

    public String getMessagetype() {
        return messagetype;
    }

    public void setMessagetype(String messagetype) {
        this.messagetype = messagetype == null ? null : messagetype.trim();
    }

    public String getMessagebroker() {
        return messagebroker;
    }

    public void setMessagebroker(String messagebroker) {
        this.messagebroker = messagebroker == null ? null : messagebroker.trim();
    }

    public String getMessagemoney() {
        return messagemoney;
    }

    public void setMessagemoney(String messagemoney) {
        this.messagemoney = messagemoney == null ? null : messagemoney.trim();
    }

    public String getMessageothers() {
        return messageothers;
    }

    public void setMessageothers(String messageothers) {
        this.messageothers = messageothers == null ? null : messageothers.trim();
    }

    public Integer getMessagelevel() {
        return messagelevel;
    }

    public void setMessagelevel(Integer messagelevel) {
        this.messagelevel = messagelevel;
    }

    public String getMessageio() {
        return messageio;
    }

    public void setMessageio(String messageio) {
        this.messageio = messageio;
    }
}